package com.dayuanit.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.dayuanit.dto.AjaxResultDTO;
import com.dayuanit.pay.service.PayService;

@Controller
@RequestMapping("/pay")
public class PayController extends BaseController {
	
	@Autowired
	private PayService payService;
	
	@RequestMapping("/listPayType")
	@ResponseBody
	public AjaxResultDTO listPayType() {
		return AjaxResultDTO.success(payService.listPayType());
	}

}
